<template>
  <div class="home" v-cloak>
    <!--<ul>-->
      <!--<li>-->
        <!--<a href="./mobile.html">mobile</a>-->
      <!--</li>-->
      <!--<li>-->
        <!--<a href="./pc.html">pc</a>-->
      <!--</li>-->
    <!--</ul>-->
  </div>
</template>

<script>
  export default {
    name: 'home',
    components: {

    },
    data () {
      return {
      }
    },
    beforeCreate () {
      let screenWidth = window.screen.availWidth;
      window.onresize = () => {
        screenWidth = window.screen.availWidth;
        if (screenWidth <= 750) {
          location.href = "/mobile.html#/"
        }else {
          location.href = "/pc.html#/"
        }
      }
      if (screenWidth <= 750) {
        location.href = "/mobile.html#/"
      }else {
        location.href = "/pc.html#/"
      }
    },
    mounted () {
    },
    methods: {
    },
    watch: {
    }
  }
</script>

<style lang="scss">
  li{
    height: 80px;
    line-height: 80px;
    font-size: 20px;
    border-bottom: 1px solid #dddee3;
  }
</style>
